/**
 * Created by Zhang JiRen
 * @date 2022/7/20 0020
 */
import request from "@/utils/request";

const search = params => {
  return request({
    url: "/api/v1/event/search",
    method: "get",
    data: params
  });
};

const list = params => {
  return request({
    url: "/api/v1/event/list",
    method: "get",
    data: params
  });
};
export default {
  search,
  list
};
